-
-
Notifications
You must be signed in to change notification settings - Fork 19
GH-991 Add MOTD feature #1094
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GH-991 Add MOTD feature #1094
Conversation
📦 Development Build ReadyWarning Do not use this build in production. It is for testing purposes only and may be unstable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request introduces a Message of the Day (MOTD) feature, which displays a configurable message to players when they join the server. The implementation is well-structured, adding new configuration classes, integrating them into the main plugin configuration, and creating a controller to handle the PlayerJoinEvent
. My review includes one suggestion for PlayerJoinMotdController
to replace hardcoded placeholder strings with constants to improve code maintainability.
eternalcore-core/src/main/java/com/eternalcode/core/feature/motd/PlayerJoinMotdController.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything is great, but I would change the name to something other than motd, it will confuse players in the configuration with MOTD from the server selection
Any ideas for the name? |
No description provided.